Skip to content

BoxLayout

Sub classes

Name Children Inherits
MultiLineLayout
prettyqt.custom_widgets.layouts.multilinelayout
Nested Boxlayout.

    Base classes

    Name Children Inherits
    BoxLayoutMixin
    prettyqt.widgets.boxlayout
    QBoxLayout
    PySide6.QtWidgets
    QBoxLayout(self, arg__1: PySide6.QtWidgets.QBoxLayout.Direction, /, parent: PySide6.QtWidgets.QWidget | None \= None) -> None

    ⋔ Inheritance diagram

    graph TD
      3275047354["widgets.BoxLayout"]
      3742431790["widgets.BoxLayoutMixin"]
      904409146["widgets.LayoutMixin"]
      3227531497["core.ObjectMixin"]
      2751680898["builtins.object"]
      632278017["widgets.LayoutItemMixin"]
      1173018045["QtWidgets.QBoxLayout"]
      1745141264["QtWidgets.QLayout"]
      3984060476["QtCore.QObject"]
      37984305["Shiboken.Object"]
      133505739["QtWidgets.QLayoutItem"]
      3742431790 --> 3275047354
      904409146 --> 3742431790
      3227531497 --> 904409146
      2751680898 --> 3227531497
      632278017 --> 904409146
      2751680898 --> 632278017
      2751680898 --> 904409146
      2751680898 --> 3742431790
      1173018045 --> 3275047354
      1745141264 --> 1173018045
      3984060476 --> 1745141264
      37984305 --> 3984060476
      2751680898 --> 37984305
      133505739 --> 1745141264
      37984305 --> 133505739

    🛈 DocStrings

    Bases: BoxLayoutMixin, QBoxLayout

    Lines up child widgets horizontally or vertically.

    Source code in prettyqt/widgets/boxlayout.py
    class BoxLayout(BoxLayoutMixin, widgets.QBoxLayout):
        """Lines up child widgets horizontally or vertically."""
    
        ID = "box"
    

    :fa-brands-github: Show source on GitHub